<div align="center">
		<table width="327" border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td valign="top" align="center"><img src="../standard/spacer.gif" width="10" height="20" border="0" alt=""></td>
			</tr>
			<tr>
				<td valign="top" align="center">
					<table width="480" style="border: solid 1px #820400" cellpadding="10" cellspacing="0">
						<tr>
							<td>
							<form action="{FORM_TARGET}" name="gallery" method="post">
								<table width="450" border="0" cellpadding="3" cellspacing="0">
									<tr>
										<td align="left" valign="middle" class="text"><b>Titel&nbsp;</b></td>
										<td align="left" valign="top"><input type="text" name="title" id="title" value="{TITLE}" size="30"></td>
										<input type="hidden" name="id" value="{ID}"/>
									</tr>
									<tr>
										<td valign="top" class="text"><b>Beschreibung&nbsp;</b></td>
										<td align="left" valign="top"><textarea name="description" rows="15" cols="30">{DESCRIPTION}</textarea></td>
									</tr>
									<tr>
										<td align="left" valign="middle" class="text"><b>Ort&nbsp;</b></td>
										<td align="left" valign="top"><input type="text" name="location" value="{LOCATION}" size="30"></td>
									</tr>
									<tr>
										<td align="center" valign="top" colspan="2" class="text"><span onclick="checkSubmit();" class="link">eintragen</span></td>
									</tr>
								</table>
                            <input type="hidden" name="send" value="1">
                            </form>
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td valign="top" align="center"><img src="../standard/spacer.gif" width="10" height="10" border="0" alt=""></td>
			</tr>
		</table>
		
		<script language="javascript">
	    	function checkSubmit()
    		{
    			var title = document.getElementById("title");
    			if (title.value == "") {
    				alert("Bitte mindestens einen Titel angeben.");
					return false;    			
    			} else {
    				document.gallery.submit();
    			}			
		    }
		</script>
		{MSG}
</div>
